/**   
 * @Title: BeidanHemaiDetailInfo.java 
 * @Package com.esun.model.beijingdanchang 
 * @Description: 北单合买方案详情 
 * @author: City Jiangsy@500wan.com   
 * @date: 2011-12-8 下午5:16:40  
 * Copyright: (C) 2011 Shenzhen E-sun Sky Net Technology Co.,ltd.
 */
package com.esun.model.beijingdanchang;

import java.util.ArrayList;

import com.esun.config.Config;

/**
 * @ClassName: BeidanHemaiDetailInfo
 * @Description: 北单合买方案详情
 * @author: City Jiangsy@500wan.com
 * @date: 2011-12-8 下午5:16:40
 * 
 */
public class BeidanHemaiDetailInfo {
	private static BeidanHemaiDetailInfo beidanHemaiDetailInfo = null;

	/**
	 * @return the beidanHemaiDetailInfo
	 */
	public static BeidanHemaiDetailInfo getBeidanHemaiDetailInfo() {
		if (beidanHemaiDetailInfo == null) {
			return beidanHemaiDetailInfo = new BeidanHemaiDetailInfo();
		} else {
			return beidanHemaiDetailInfo;
		}
	}

	private String lotid;// 彩种id
	private String pid;// 方案id
	private String username;// 用户名
	private String allmoney;// 方案总金额
	private String beishu;// 倍数
	private String anumber;// 总份数
	private String leftnumber;// 剩余份数
	private String onemoney;// 每份金额
	private String baodimoney;// 保底金额
	private String ticheng;// 提成
	private String ismanyuan;// 是否满员
	private String lotterycount;// 中奖次数
	private String lotterymonery;// 中奖金额
	private String addtime;// 发起时间
	private String issuc;// 是否出票
	private String isshow;// 是否公开显示
	private String fileorcode;// 投注号码
	private String nfileorcode;// 投注内容
	private String danma;// 胆码场次
	private String ggtypename;// 过关方式名
	private String gggroup;// 过关方式
	private String jindu;
	private String lotterystate;
	private String getmoney;
	private String isUpload = "";
	private String isChaser = "";
	private String expect = "";
	private String resultspf;
	private String zhanji_jinpai;
	private String zhanji_yinpai;
	// 战绩金钻
	private String golddiamond;
	// 战绩银钻
	private String silverdiamond;
	// 战绩金星
	private String goldstar;
	// 战绩银星
	private String silverstar;
	// 战绩金杯
	private String goldcup;
	// 是否合买
	private String ishm;
	// 方案编号
	private String proid;
	// 玩法id
	private String playid;
	// 玩法名称
	private String playname;
	// 保底比例
	private String baodi = "";

	public String getBaodi() {
		return baodi;
	}

	public void setBaodi(String baodi) {
		this.baodi = baodi;
	}

	public String getPlayid() {
		return playid;
	}

	public void setPlayid(String playid) {
		this.playid = playid;
	}

	public String getPlayname() {
		return playname;
	}

	public void setPlayname(String playname) {
		this.playname = playname;
	}

	public String getProid() {
		return proid;
	}

	public void setProid(String proid) {
		this.proid = proid;
	}

	public String getIshm() {
		return ishm;
	}

	public void setIshm(String ishm) {
		this.ishm = ishm;
	}

	public String getExpect() {
		return expect;
	}

	public void setExpect(String expect) {
		this.expect = expect;
	}

	/**
	 * @return the isChaser
	 */
	public String getIsChaser() {
		return isChaser;
	}

	/**
	 * @param ischaser
	 *            the isChaser to set
	 */
	public void setIsChaser(String ischaser) {
		this.isChaser = ischaser;
	}

	/**
	 * @return the isUpload
	 */
	public String getIsUpload() {
		return isUpload;
	}

	/**
	 * @param isupload
	 *            the isUpload to set
	 */
	public void setIsUpload(String isupload) {
		this.isUpload = isupload;
	}

	/**
	 * @return the zhanji_jinpai
	 */
	public String getZhanji_jinpai() {
		return zhanji_jinpai;
	}

	/**
	 * @param zhanji_jinpai
	 *            the zhanji_jinpai to set
	 */
	public void setZhanji_jinpai(String zhanji_jinpai) {
		this.zhanji_jinpai = zhanji_jinpai;
	}

	/**
	 * @return the zhanji_yinpai
	 */
	public String getZhanji_yinpai() {
		return zhanji_yinpai;
	}

	/**
	 * @param zhanji_yinpai
	 *            the zhanji_yinpai to set
	 */
	public void setZhanji_yinpai(String zhanji_yinpai) {
		this.zhanji_yinpai = zhanji_yinpai;
	}

	/**
	 * @return the resultspf
	 */
	public String getResultspf() {
		return resultspf;
	}

	/**
	 * @param resultspf
	 *            the resultspf to set
	 */
	public void setResultspf(String resultspf) {
		this.resultspf = resultspf;
	}

	/**
	 * @return the lotterystate
	 */
	public String getLotterystate() {
		return lotterystate;
	}

	/**
	 * @param lotterystate
	 *            the lotterystate to set
	 */
	public void setLotterystate(String lotterystate) {
		this.lotterystate = lotterystate;
	}

	/**
	 * @return the getmoney
	 */
	public String getGetmoney() {
		return getmoney;
	}

	/**
	 * @param getmoney
	 *            the getmoney to set
	 */
	public void setGetmoney(String getmoney) {
		this.getmoney = getmoney;
	}

	/**
	 * @return the jindu
	 */
	public String getJindu() {
		return jindu;
	}

	/**
	 * @param jindu
	 *            the jindu to set
	 */
	public void setJindu(String jindu) {
		this.jindu = jindu;
	}

	private ArrayList<BeidanHemaiDetailTeamInfo> teamList;

	/**
	 * @return the teamList
	 */
	public ArrayList<BeidanHemaiDetailTeamInfo> getTeamList() {
		return teamList;
	}

	/**
	 * @param teamList
	 *            the teamList to set
	 */
	public void setTeamList(ArrayList<BeidanHemaiDetailTeamInfo> teamList) {
		this.teamList.addAll(teamList);
	}

	/**
	 * @return the lotid
	 */
	public String getLotid() {
		return lotid;
	}

	/**
	 * @param lotid
	 *            the lotid to set
	 */
	public void setLotid(String lotid) {
		this.lotid = lotid;
	}

	/**
	 * @return the pid
	 */
	public String getPid() {
		return pid;
	}

	/**
	 * @param pid
	 *            the pid to set
	 */
	public void setPid(String pid) {
		this.pid = pid;
	}

	/**
	 * @return the username
	 */
	public String getUsername() {
		return username;
	}

	/**
	 * @param username
	 *            the username to set
	 */
	public void setUsername(String username) {
		this.username = username;
	}

	/**
	 * @return the allmoney
	 */
	public String getAllmoney() {
		return allmoney;
	}

	/**
	 * @param allmoney
	 *            the allmoney to set
	 */
	public void setAllmoney(String allmoney) {
		this.allmoney = allmoney;
	}

	/**
	 * @return the beishu
	 */
	public String getBeishu() {
		return beishu;
	}

	/**
	 * @param beishu
	 *            the beishu to set
	 */
	public void setBeishu(String beishu) {
		this.beishu = beishu;
	}

	/**
	 * @return the anumber
	 */
	public String getAnumber() {
		return anumber;
	}

	/**
	 * @param anumber
	 *            the anumber to set
	 */
	public void setAnumber(String anumber) {
		this.anumber = anumber;
	}

	/**
	 * @return the leftnumber
	 */
	public String getLeftnumber() {
		return leftnumber;
	}

	/**
	 * @param leftnumber
	 *            the leftnumber to set
	 */
	public void setLeftnumber(String leftnumber) {
		this.leftnumber = leftnumber;
	}

	/**
	 * @return the onemoney
	 */
	public String getOnemoney() {
		return onemoney;
	}

	/**
	 * @param onemoney
	 *            the onemoney to set
	 */
	public void setOnemoney(String onemoney) {
		this.onemoney = onemoney;
	}

	/**
	 * @return the baodimoney
	 */
	public String getBaodimoney() {
		return baodimoney;
	}

	/**
	 * @param baodimoney
	 *            the baodimoney to set
	 */
	public void setBaodimoney(String baodimoney) {
		this.baodimoney = baodimoney;
	}

	/**
	 * @return the ticheng
	 */
	public String getTicheng() {
		return ticheng;
	}

	/**
	 * @param ticheng
	 *            the ticheng to set
	 */
	public void setTicheng(String ticheng) {
		if (ticheng == null) {
			this.ticheng = "无";
		} else {
			this.ticheng = ticheng + Config.PERCENT;
		}
	}

	/**
	 * @return the ismanyuan
	 */
	public String getIsmanyuan() {
		return ismanyuan;
	}

	/**
	 * @param ismanyuan
	 *            the ismanyuan to set
	 */
	public void setIsmanyuan(String ismanyuan) {
		this.ismanyuan = ismanyuan;
	}

	/**
	 * @return the lotterycount
	 */
	public String getLotterycount() {
		return lotterycount;
	}

	/**
	 * @param lotterycount
	 *            the lotterycount to set
	 */
	public void setLotterycount(String lotterycount) {
		this.lotterycount = lotterycount;
	}

	/**
	 * @return the lotterymonery
	 */
	public String getLotterymonery() {
		return lotterymonery;
	}

	/**
	 * @param lotterymonery
	 *            the lotterymonery to set
	 */
	public void setLotterymonery(String lotterymonery) {
		this.lotterymonery = lotterymonery;
	}

	/**
	 * @return the addtime
	 */
	public String getAddtime() {
		return addtime;
	}

	/**
	 * @param addtime
	 *            the addtime to set
	 */
	public void setAddtime(String addtime) {
		this.addtime = addtime;
	}

	/**
	 * @return the issuc
	 */
	public String getIssuc() {
		return issuc;
	}

	/**
	 * @param issuc
	 *            the issuc to set
	 */
	public void setIssuc(String issuc) {
		this.issuc = issuc;
	}

	/**
	 * @return the isshow
	 */
	public String getIsshow() {
		return isshow;
	}

	/**
	 * @param isshow
	 *            the isshow to set
	 */
	public void setIsshow(String isshow) {
		this.isshow = isshow;
	}

	/**
	 * @return the fileorcode
	 */
	public String getFileorcode() {
		return fileorcode;
	}

	/**
	 * @param fileorcode
	 *            the fileorcode to set
	 */
	public void setFileorcode(String fileorcode) {
		this.fileorcode = fileorcode;
	}

	/**
	 * @return the nfileorcode
	 */
	public String getNfileorcode() {
		return nfileorcode;
	}

	/**
	 * @param nfileorcode
	 *            the nfileorcode to set
	 */
	public void setNfileorcode(String nfileorcode) {
		this.nfileorcode = nfileorcode;
	}

	/**
	 * @return the danma
	 */
	public String getDanma() {
		return danma;
	}

	/**
	 * @param danma
	 *            the danma to set
	 */
	public void setDanma(String danma) {
		this.danma = danma;
	}

	/**
	 * @return the ggtypename
	 */
	public String getGgtypename() {
		return ggtypename;
	}

	/**
	 * @param ggtypename
	 *            the ggtypename to set
	 */
	public void setGgtypename(String ggtypename) {
		this.ggtypename = ggtypename;
	}

	/**
	 * @return the gggroup
	 */
	public String getGggroup() {
		return gggroup;
	}

	/**
	 * @param gggroup
	 *            the gggroup to set
	 */
	public void setGggroup(String gggroup) {
		this.gggroup = gggroup;
	}

	public void setGoldDiamond(String str) {
		this.golddiamond = str;
	}

	public String getGoldDiamond() {
		return golddiamond;
	}

	public void setSilverDiamond(String str) {
		this.silverdiamond = str;
	}

	public String getSilverDiamond() {
		return silverdiamond;
	}

	public void setGoldStar(String str) {
		this.goldstar = str;
	}

	public String getGoldStar() {
		return goldstar;
	}

	public void setSilverStar(String str) {
		this.silverstar = str;
	}

	public String getSilverStar() {
		return silverstar;
	}

	public void setGoldCup(String str) {
		this.goldcup = str;
	}

	public String getGoldCup() {
		return goldcup;
	}

	public void cleanAll() {
		setZhanji_jinpai(Config.NULLMARK);
		setZhanji_yinpai(Config.NULLMARK);
		setJindu(Config.NULLMARK);
		setUsername(Config.NULLMARK);
		setAllmoney(Config.NULLMARK);
		setBeishu(Config.NULLMARK);
		setAnumber(Config.NULLMARK);
		setLeftnumber(Config.NULLMARK);
		setOnemoney(Config.NULLMARK);
		setBaodimoney(Config.NULLMARK);
		setTicheng(Config.NULLMARK);
		setIsmanyuan(Config.NULLMARK);
		setLotterycount(Config.NULLMARK);
		setLotterymonery(Config.NULLMARK);
		setAddtime(Config.NULLMARK);
		setIssuc(Config.NULLMARK);
		setIsshow(Config.NULLMARK);
		setFileorcode(Config.NULLMARK);
		setNfileorcode(Config.NULLMARK);
		setDanma(Config.NULLMARK);
		setGgtypename(Config.NULLMARK);
		setGggroup(Config.NULLMARK);
		setLotterystate(Config.NULLMARK);
		setGetmoney(Config.NULLMARK);
		teamList = new ArrayList<BeidanHemaiDetailTeamInfo>();
	}

}
